package day0301;

import day07.Dog;

public class IntegerDemo {
    public static void main(String[] args) {
        Integer i1 =new Integer(5);
        Integer i2 =5;
        int i6=i2;
        int i5=i2.intValue();


        Double i3 =3.14;
        double i4 =i3.doubleValue();


        String str ="娃哈哈";
        String str1 ="娃哈哈";
        System.out.println(str.equals(str1));

        StringBuilder sb =new StringBuilder(str);
        StringBuilder sb1 =new StringBuilder(str1);
        System.out.println(sb.equals(sb1));

        String str3 =sb.toString();
        System.out.println(str3);

    }

}
